package com.pp.admin.common.client.beans;

import java.io.Serializable;

public class BaseBean implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7035954884508715450L;

	private boolean dirty = false;

	private BaseBean parent = null;

	public void setDirty() {
		dirty = true;
		if (parent != null) {
			parent.setDirty();
		}
	}

	public boolean isDirty() {
		return dirty;
	}

}
